﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.DataModel.SystemtableModel
{
	/// <summary>
	/// 公共机构
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class SYS_Organization
	{

		[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
		public string OZ_ID { get; set; }

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string DT_ID { get; set; }

		/// <summary>
		/// 6=劳动人事争议仲裁院
		/// </summary>
		[JsonProperty]
		public int? Organtype { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)")]
		public string OZ_Code { get; set; }

		[JsonProperty, Column(DbType = "varchar(32)")]
		public string OZ_Levelid { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string OZ_Name { get; set; }

		[JsonProperty]
		public int? OZ_Numb { get; set; }

		[JsonProperty, Column(DbType = "varchar(32)")]
		public string OZ_ParentId { get; set; }

		[JsonProperty, Column(DbType = "varchar(2000)")]
		public string OZ_Remarks { get; set; }

		[JsonProperty, Column(StringLength = 3000)]
		public string OZ_ShortName { get; set; }

		[JsonProperty, Column(DbType = "varchar(10)")]
		public string OZ_StandardCode { get; set; }

		[JsonProperty]
		public int? OZ_StausFlag { get; set; }

		[JsonProperty]
		public DateTime? UpdateTime { get; set; }

	}

}
